import Vue from 'vue'
import App from './App'   
// 以上2行管不着
// 以下2行不会管 
Vue.config.productionTip = false  
App.mpType = 'app'
//验证
import validate from './common/validate.js'
// 挂载到全局
Vue.prototype.$validate = validate
//VUEX加载
import store from './store'
Vue.prototype.$store = store
//工具
import $util from "./common/util.js"
Vue.prototype.$util = $util
//自定义全局组件
import myBar from './components/my-bar/my-bar.vue'
Vue.component('my-bar', myBar)
import myTabBar from './components/my-tabbar/my-tabbar.vue'
Vue.component('my-tabbar', myTabBar)
//创建Vue实例
const app = new Vue({
	/* store, */
	...App
})
//挂载Vue
app.$mount()
